<%@taglib prefix="s" uri="/struts-tags"%>
<s:set name="username" value="#session.username"/>

<s:if test="username==null">
	<s:action name="Needlogin" executeResult="true"/>
</s:if>
<s:property value="#session.username"/>